package com.ssl.tensquare.recruit.pojo;

import com.ssl.tensquare.common.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.SQLDelete;
import org.hibernate.annotations.Where;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 描述：企业
 *
 * @author ssl
 * @create 2019/06/26 16:49
 */
@Getter
@Setter
@Entity
@Table(name = "`recruit_enterprise`")
@SQLDelete(sql = "update recruit_enterprise set del_flag = 1 where id = ?")
@Where(clause = "del_flag = 0")
public class Enterprise extends BaseEntity {
    private static final long serialVersionUID = 1110465700761013625L;
    // 企业名称
    private String name;
    // 企业简介
    private String summary;
    // 企业地址
    private String address;
    // 标签列表:用逗号分隔
    private String labels;
    // 企业位置坐标:经度，纬度
    private String coordinate;
    // 是否热门 : false非热门,true热门
    private String ishot;
    // LOGO
    private String logo;
    // 职位数
    private String jobcount;
    // URL
    private String url;

}
